package com.ruoyi.configManage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 充值配置对象 t_balance_rechange_config
 * 
 * @author ruoyi
 * @date 2025-08-12
 */
public class BalanceRechangeConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 余额充值配置ID */
    private Integer id;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal rechangePrice;

    /** 获得余额 */
    @Excel(name = "获得余额")
    private BigDecimal balance;

    /** 逻辑删除（0=未删除，1=已删除） */
    private Integer isDelete;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setRechangePrice(BigDecimal rechangePrice) 
    {
        this.rechangePrice = rechangePrice;
    }

    public BigDecimal getRechangePrice() 
    {
        return rechangePrice;
    }

    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }

    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rechangePrice", getRechangePrice())
            .append("balance", getBalance())
            .append("isDelete", getIsDelete())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
